<?php
/**
 * This file is part of Hyperf Mall.
 * 
 * @link     https://gitee.com/scwlkj/hypref_mall
 * @contact  hyperf_mall@163.com
 */

declare(strict_types=1);

namespace App\JsonRpc;

use App\Repository\OrderDiscountRepository;
use Hyperf\RpcServer\Annotation\RpcService;
use App\JsonRpc\Interfaces\OrderDiscountServiceInterface;

/**
 * @RpcService(name="Hypref_mall_orders::OrderDiscountService", protocol="jsonrpc", server="jsonrpc")
 */
class OrderDiscountService extends BaseService implements OrderDiscountServiceInterface
{
    public function init()
    {
        $this->repository = OrderDiscountRepository::getInstance();
    }
}
